<nz-card  nzTitle="供应商管理" [nzExtra]="extraTemplate">

  <nz-table #basicTable [nzData]="gl">
    <thead>
    <tr>
      <th>供应商名称</th>
      <th>供应商电话</th>
      <th>供应商联系人</th>
      <th>公司全称</th>

      <th>类别</th>
      <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let data of basicTable.data">
      <td>{{data.mc}}</td>
      <td>{{data.tel}}</td>
      <td>{{data.lxr}}</td>
      <td>{{data.yyzz}}</td>

      <td>{{data.lb}}</td>
      <td>
        <button nz-button nzType="primary" (click)="update(data.gysid)">修改</button>
        <button nz-button nzType="danger" (click)="delete(data.gysid)">删除</button>
      </td>
    </tr>
    </tbody>
  </nz-table>

</nz-card>
<ng-template #extraTemplate>
  <button nz-button nzType="primary" (click)="save()">新增</button>
</ng-template>
